<div class="content_sidebar left_element">
	<!-- Start Left Title -->
	<div class="title_left_sidebar">
		<div class="text_title">
			<?php __("Quản lý tin")?> 
		</div>
		<div class="button_scroll">

		</div>
	</div>
	<!-- End Left Title -->
	<!-- Start Left Menu -->
	<div id="menu_left">
		<div class="menu_list_category" id="firstpane_category"> <!--Code for menu starts here-->
			<ul>
				<li class="sub_menu">
					<div class="item_menu">
						<?php echo $html->image('icon_leftmn_02.png', array('border' => 0));?>
					</div>
					<p class="menu_head_category"><?php __("Danh mục tin")?></p>
					<div class="menu_body_category" style="display: block;">
					<ul>
						<li class="sub_menu">
							<p class="menu_head_category sub_leftmn_lv3">
								<a href='<?php echo $html->url(array('plugin' => 'news', 'controller'=>'manage_news_categories', 'action'=>'index'))?>'>
									<?php echo $html->image('icon_leftmn_02.png', array('border' => 0));?>
									<?php __("Danh sách danh mục")?>
								</a>
							</p>
						</li>
						<li class="sub_menu">
							<p class="menu_head_category sub_leftmn_lv3">
								<a href='<?php echo $html->url(array('plugin' => 'news', 'controller'=>'manage_news_categories', 'action'=>'add'))?>'>
									<?php echo $html->image('icon_leftmn_02.png', array('border' => 0));?>
									<?php __("Tạo danh mục mới")?>
								</a>
							</p>
						</li>
					</ul>
					</div>
				</li>
				
				<li class="sub_menu">
					<div class="item_menu">
						<?php echo $html->image('icon_leftmn_02.png', array('border' => 0));?>
					</div>
					<p class="menu_head_category"><?php __("Tin tức chung")?></p>
					<div class="menu_body_category" style="display: block;">
					<?php $newsCats = ClassRegistry::init('news.NewsCategory')->find('all', array(
						'conditions'	=>	array(
							'NewsCategory.parent_id'	=>	1
						),
						'fields'	=>	array('name', 'alias'),
						'contain'	=>	array()
					));?>
					<ul>
						<?php foreach ($newsCats as $cat):?>
						<li class="sub_menu">
							<p class="menu_head_category sub_leftmn_lv3">
								<a href='<?php echo $html->url(array('plugin' => 'news', 'controller' => 'manage_news', 'action' => 'index', 'root' => $cat['NewsCategory']['alias']))?>'>
									<?php echo $html->image('icon_leftmn_02.png', array('border' => 0));?>
									<?php echo $cat['NewsCategory']['name']?>
								</a>
							</p>
						</li>
						<?php endforeach;?>
					</ul>
					</div>
				</li>
			</ul>
		</div>
	</div>
	<!-- End Left Menu -->
	<div class="clear"></div>
</div>